package io.sdl.common.sys.dto;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.security.Principal;
import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
public class UsernamePasswordAuthenticationToken implements Serializable, Principal {

    private String userId;

    private String password;

    private List<Object> list;

    @Override
    public String getName() {
        return this.userId;
    }
}
